package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 公告类型
 * @author chenjian
 */
public enum NoticeTypeEnum implements BaseEnum {
    NOTICE("1", "通知"),
    PUBLIC("2", "公告");

    @JsonValue
    private final String value;
    private final String label;

    NoticeTypeEnum(String value, String info) {
        this.value = value;
        this.label = info;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
